﻿<Window x:Class="Trackr.NotificationWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
		xmlns:local="clr-namespace:Trackr.ViewModel"
	 Title="Time Trackr" Width="480" MaxHeight="130" MinHeight="120" SizeToContent="Height" AllowsTransparency="True" WindowStyle="None" Topmost="True" BorderThickness="6" ResizeMode="NoResize" WindowStartupLocation="CenterScreen" Margin="0" Padding="0" Background="{x:Null}">
	<!--<Window.DataContext>
		<local:NotificationViewModel />
	</Window.DataContext>-->
	<Window.Resources>
		<Style x:Key="CustomStyle" TargetType="{x:Type TextBox}">
			<Setter Property="Background" Value="AliceBlue" />
			<Setter Property="BorderThickness" Value="0"/>
		</Style>
	</Window.Resources>
	<Canvas>
		<Border Name="BorderMain" Padding="0"  BorderThickness="4" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" UseLayoutRounding="True" CornerRadius="5" BorderBrush="#00C82020" Background="#FF4B95D8" Height="105" >
			<Border.Effect>
				<DropShadowEffect Direction="305" BlurRadius="5" RenderingBias="Quality" ShadowDepth="1" Opacity="0.8"/>
			</Border.Effect>
			<Grid Height="90" Width="440">
				<Grid.Background>

					<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
						<GradientStop Color="#FFFEFFFE" Offset="0"/>
						<GradientStop Color="#FFDFE9F3" Offset="1"/>
					</LinearGradientBrush>
				</Grid.Background>
				<Grid.ColumnDefinitions>
			<ColumnDefinition Width="*" />
		</Grid.ColumnDefinitions>
		<Grid.RowDefinitions>
			<RowDefinition Height="30" />
			<RowDefinition Height="40" />
		</Grid.RowDefinitions>
		<TextBlock Grid.Row="0" Margin="5" Text="What are you doing?" Style="{StaticResource defaultFont}" Foreground="DarkGray" />
		<!--<TextBox x:Name="txtBoxTask" Grid.Row="1" Margin="0" Style="{StaticResource notificationText}" Text="What are you doing?" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Padding="5">
			<TextBox.InputBindings>
				<KeyBinding Key="Enter" Command="{Binding SaveTask}" CommandParameter="{Binding Text, ElementName=txtBoxTask}" />
			</TextBox.InputBindings>
		</TextBox>-->
		<Border Grid.Row="1" Name="InputBorder" BorderThickness="1" Margin="5" Background="White" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" UseLayoutRounding="True" CornerRadius="3" BorderBrush="LightGray" >
			<TextBox Name="inputTask" Style="{StaticResource CustomStyle}" Text="{Binding PlaceholderText}" Padding="2" FontFamily="Segoe WP Light" FontSize="16" VerticalAlignment="Center" Background="Transparent" BorderBrush="Transparent" VerticalContentAlignment="Stretch" HorizontalAlignment="Stretch">
				<TextBox.InputBindings>
							<KeyBinding Key="Enter" Command="{Binding SaveTask}" CommandParameter="{Binding Text, ElementName=txtBoxTask}"/>
				</TextBox.InputBindings>
			</TextBox>

		</Border>
			</Grid>
	</Border>
	</Canvas>
</Window>
